package com.community.process._1010.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

import java.util.function.BiFunction;

/**
 * 客户端类型
 *
 */
@Getter
@RequiredArgsConstructor
public enum ClientType {

	/**
	 * 开发者端
	 */
	DEVELOPER_CONSOLE("DEVELOPER_CONSOLE", "开发者端"),

	/**
	 * 平台端
	 */
	PLATFORM_CONSOLE("PLATFORM_CONSOLE", "平台端"),

	/**
	 * 商家端
	 */
	SHOP_CONSOLE("SHOP_CONSOLE", "商家端"),

	/**
	 * 消费端
	 */
	CONSUMER("CONSUMER", "消费者端"),

	/**
	 * 门店端
	 */
	STORE("STORE", "门店端"),

	/**
	 * 供应商端
	 */
	SUPPLIER_CONSOLE("SUPPLIER_CONSOLE", "供应商端"),
	;

	@EnumValue
	private final String value;

	/**
	 * 是否在登录时校验店铺是否可用
	 */
	private final String checkShop;

}
